﻿@model ArunimaErp.Domain.costsheet

@{
    ViewBag.Title = "Create";

    Layout = null;
}

@using (Ajax.BeginForm("Create", "CostSheet", new AjaxOptions
		{
			InsertionMode = InsertionMode.Replace, 
			HttpMethod = "POST",
			OnSuccess = "updateSuccess"
		}, new { @id = "costsheetDialogeForm" }))
	{
    @Html.ValidationSummary(true)

        @Html.Hidden("PoStyleId", (object)ViewBag.PoStyleId)

        <table>
            <tr>
                <td>@Html.LabelFor(model => model.FabricsValue)</td>
                <td>@Html.EditorFor(model => model.FabricsValue)</td>
                <td>@Html.ValidationMessageFor(model => model.FabricsValue)</td>
            </tr>

            <tr>
                <td>@Html.LabelFor(model => model.TrimsValue)</td>
                <td>@Html.EditorFor(model => model.TrimsValue)</td>
                <td>@Html.ValidationMessageFor(model => model.TrimsValue)</td>
            </tr>

            <tr>
                <td>@Html.LabelFor(model => model.EmbPrintValue)</td>
                <td>@Html.EditorFor(model => model.EmbPrintValue)</td>
                <td>@Html.ValidationMessageFor(model => model.EmbPrintValue)</td>
            </tr>

            <tr>
                <td>@Html.LabelFor(model => model.WashValue)</td>
                <td>@Html.EditorFor(model => model.WashValue)</td>
                <td>@Html.ValidationMessageFor(model => model.WashValue)</td>
            </tr>
        </table>
}
